package org.genntii.warehousesystem.domain.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("employee")
public class Employee {
    @TableId
    private int id;
    private String username;
    private String password;
    private String salt;
    private String  name;
    private String  sex;
    private Boolean married;
    private int education;
    private String tel;
    private String address;
    private LocalDate hiredate;
    private LocalDate termdate;
    private int status;
}
